package net.huashitong.scheduling.service;

import java.util.List;

import net.huashitong.scheduling.dao.ResourcesDao;
import net.huashitong.scheduling.entity.Resources;
import net.huashitong.scheduling.filter.ResourcesFilter;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sirdc.modules.core.dao.BaseDao;
import com.sirdc.modules.sys.base.StringPKService;

@Service
public class ResourcesService extends StringPKService<Resources> {

	@Autowired
	private ResourcesDao dao;
	@Override
	protected BaseDao<Resources, String> getDao() {
		// TODO Auto-generated method stub
		return dao;
	}
	public List<Resources> queryByType(ResourcesFilter filter) {
		return dao.queryByType(filter);
	}
	public Resources queryDetailValue(ResourcesFilter filter) {
		return dao.queryDetailValue(filter);
	}

}
